<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>  
	<title>#{msg.label_titulo}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> 
	<link rel="stylesheet" href="../css/style.css" type="text/css"/>
</h:head>  
<h:body>
	<h:form>
		<table width="900" border="0" cellpadding="100" cellspacing="80" align="center">
			<tr>
				<td align="center"><p:messages id="msgs" showDetail="false"/>
					<p:panel header="#{msg.label_login}">
						<h:outputText value="#{msg.label_versao}" style="font-style:normal;font-size:10px;color:#FF0000;"/>
						<br/>
						<h:outputText value="#{msg.label_usuario}:" styleClass="texto1"/>
						<p:inputText required="true" requiredMessage="#{msg.erro_login_necessario}" value="#{usuarioBean.usuario.login}" name="usuario" style="font-size:12px" styleClass="texto1"/>
						<br/><br/>
						<h:outputText value="#{msg.label_senha}:" styleClass="texto1"/>  
		        		<p:keyboard value="#{usuarioBean.usuario.senha}" password="true" keypadOnly="true" style="font-size:12px" styleClass="texto1"/>
						<br/><br/>
						<h:commandButton styleClass="botao2" style="font-size:12px" value="#{msg.button_autenticar}" action="#{usuarioBean.efetuarLogin}" type="submit"/>
						<h:commandButton styleClass="botao2" style="font-size:12px" value="#{msg.button_limpar}" type="reset"/>
					</p:panel>					
				</td>
			</tr>
		</table>
	</h:form>
</h:body>
</html>